setGlobalDuration(12)

env = genAdsr()

lfo(bus='amp', frequency=.5, amplitude=.5, offset=.5, wavetype='triangle')
lfo(bus='vib', frequency=5, amplitude=.05, offset=1, wavetype='sine')
square(pitch=100, envelope=env, pitchVar='vib', amplitudeVar='amp')

startCsound()
